updating oE tan

tan

<built-in> function tan(object angle) 

returns the tangent of an angle, or a sequence of angles.

Parameters:
  1. angle : an object, each atom of which will be converted, no matter how deeply nested.
Returns:

An object, of the same shape as angle. Each atom in the flattened angle is replaced by its tangent.

Errors:

If any atom in angle is an odd multiple of PI/2, an error occurs, as its tangent would be infinite.

Comments:

This function may be applied to an atom or to all elements of a sequence of arbitrary shape, recursively.

Example 1:
t = tan(1.0) 
-- t is 1.55741 
See Also:

sin, cos, arctan

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu